/**
 * 实现灰太狼
 * 创建者：Carburn Ashroom
 * 2024.1.2
 */

package Char;

import java.awt.*;
import java.io.IOException;

public class Wolf extends Char implements WolfConfig {      // Wolf类是灰太狼

    public Wolf(Point pos, int w, Dimension scrn) throws IOException {
        super(DIR, pos, w, RIGHT, SPEED, scrn);
    }

    public void update(Sheep sheep) {
        walkCenterTo(sheep);
    }

}
